package com.woniuxy.joylifecenter.service;

import com.woniuxy.common.entity.CenterLog;


import java.util.*;

public interface LogService {
    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/5/1
     * @Param [logId]
     * @Description 手动批量删除日志
     **/
    int batchDeleteLogManually(List<String> logId);

    /**
     * @return void
     * @Author ArmWatt
     * @Date 2020/5/1
     * @Param [logId]
     * @Description 手动删除单条日志
     **/
    int deleteLogManually(String logId);


    /**
     * @return java.util.List<com.woniuxy.common.entity.CenterLog>
     * @Author ArmWatt
     * @Date 2020/4/30
     * @Param []
     * @Description 查询全部日志
     **/
    List<CenterLog> queryAllLog();

    /**
     * @return java.util.List<com.woniuxy.common.entity.CenterLog>
     * @Author ArmWatt
     * @Date 2020/4/30
     * @Param []
     * @Description 多条件模糊查询日志
     **/
    List<CenterLog> queryLogByCondition(CenterLog centerLog);

    /**
     * @return void
     * @Author ArmWatt
     * @Date 2020/4/29
     * @Param [centerLog]
     * @Description 记录操作日志
     **/
    void saveLog(CenterLog centerLog);

    /**
     * @return int
     * @Author ArmWatt
     * @Date 2020/4/29
     * @Param [createTime]
     * @Description 记录定时删除日志任务的日志
     **/
    int deleteLogBySchedule(Date createTime);
}
